package cloud.xlh.digital_power_pay.config.remote_call;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2023/8/20 11:21
 * @ Description:
 */
@FeignClient(value = "digital-power-card" , url = "http://localhost:8088/")
@Component
public interface DigitalPowerCardRemoteCall {
    @PostMapping("/card/reversal")
    JSONObject reversal(JSONObject reqJSONObject);

    @PostMapping("/card/backQuery")
    JSONObject backQuery(JSONObject reqJSONObject);
}
